package cn.rkylin.oms.aftersale.resend.vo;

import java.math.BigDecimal;

import cn.rkylin.oms.order.domain.OrderSku;

public class ResultdSkuVO extends OrderSku {

    /**
     * 补发商品id
     */
    private String resendSkuId;
    /**
     * 订购数量
     */
    private Integer orderQty;
    /**
     * 补发数量
     */
    private Integer resendQty;
    /**
     * 实际单价（补发单）
     */
    private BigDecimal factUnitPrice;
    /**
     * 是否订单商品
     */
    private String isOrderSku;

    /**
     * 实际支付单价
     */
    private BigDecimal divideGoodsFee;
    /**
     * 实际金额
     */
    private BigDecimal actualAmount;
    /**
     * 实际支付金额
     */
    private BigDecimal divideOrderFeeShow;

    /**
     * 平台Oid
     */
    private String ecOid;

    /**
     * 来源单据商品明细Id
     */
    private String sourceSkuId;

    /**
     * 操作
     */
    private String operation;

    public String getResendSkuId() {
        return resendSkuId;
    }

    public void setResendSkuId(String resendSkuId) {
        this.resendSkuId = resendSkuId;
    }

    public Integer getOrderQty() {
        return orderQty;
    }

    public void setOrderQty(Integer orderQty) {
        this.orderQty = orderQty;
    }

    public Integer getResendQty() {
        return resendQty;
    }

    public void setResendQty(Integer resendQty) {
        this.resendQty = resendQty;
    }

    public String getIsOrderSku() {
        return isOrderSku;
    }

    public void setIsOrderSku(String isOrderSku) {
        this.isOrderSku = isOrderSku;
    }

    public BigDecimal getDivideGoodsFee() {
        return divideGoodsFee;
    }

    public void setDivideGoodsFee(BigDecimal divideGoodsFee) {
        this.divideGoodsFee = divideGoodsFee;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public BigDecimal getActualAmount() {
        return getFactUnitPrice().multiply(new BigDecimal(getResendQty()));
    }

    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    public BigDecimal getDivideOrderFeeShow() {
        return getDivideGoodsFee().multiply(new BigDecimal(getResendQty()));
    }

    public void setDivideOrderFeeShow(BigDecimal divideOrderFeeShow) {
        this.divideOrderFeeShow = divideOrderFeeShow;
    }

    public BigDecimal getFactUnitPrice() {
        return factUnitPrice;
    }

    public void setFactUnitPrice(BigDecimal factUnitPrice) {
        this.factUnitPrice = factUnitPrice;
    }

    public String getEcOid() {
        return ecOid;
    }

    public void setEcOid(String ecOid) {
        this.ecOid = ecOid;
    }

    public String getSourceSkuId() {
        return sourceSkuId;
    }

    public void setSourceSkuId(String sourceSkuId) {
        this.sourceSkuId = sourceSkuId;
    }

}
